package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;
import java.util.Date;

/**
 * 不良产品表 Z_NC_DATA
 * 
 * @author ervin
 * @date 2019-04-03
 */
public class NcData
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 机种 */
	private String machineType;
	/** 资源 */
	private String resrce;
	/** 工序 */
	private String operation;
	/** 工令 */
	private String sfc;
	/** 物料 */
	private String itemBo;
	/** 本体编号 */
	private String carrier;
	/** DATE_CODE */
	private String dateCode;
	/** CNC机台 */
	private String cnc;
	/** 不良项目 */
	private String ncCode;
	/** 不良数量 */
	private Long ncQty;
	/** 处置方式(返工/报废) */
	private String disposition;
	/** 是否重工 */
	private String isRework;
	/** 创建日期 */
	private Date createdDateTime;
	/** 更新日期 */
	private Date updatedDateTime;
	/** 创建人员 */
	private String createUserBo;
	/** 更新人员 */
	private String updateUserBo;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setMachineType(String machineType) 
	{
		this.machineType = machineType;
	}

	public String getMachineType() 
	{
		return machineType;
	}
	public void setResrce(String resrce) 
	{
		this.resrce = resrce;
	}

	public String getResrce() 
	{
		return resrce;
	}
	public void setOperation(String operation) 
	{
		this.operation = operation;
	}

	public String getOperation() 
	{
		return operation;
	}
	public void setSfc(String sfc) 
	{
		this.sfc = sfc;
	}

	public String getSfc() 
	{
		return sfc;
	}
	public void setItemBo(String itemBo) 
	{
		this.itemBo = itemBo;
	}

	public String getItemBo() 
	{
		return itemBo;
	}
	public void setCarrier(String carrier) 
	{
		this.carrier = carrier;
	}

	public String getCarrier() 
	{
		return carrier;
	}
	public void setDateCode(String dateCode) 
	{
		this.dateCode = dateCode;
	}

	public String getDateCode() 
	{
		return dateCode;
	}
	public void setCnc(String cnc) 
	{
		this.cnc = cnc;
	}

	public String getCnc() 
	{
		return cnc;
	}
	public void setNcCode(String ncCode) 
	{
		this.ncCode = ncCode;
	}

	public String getNcCode() 
	{
		return ncCode;
	}
	public void setNcQty(Long ncQty) 
	{
		this.ncQty = ncQty;
	}

	public Long getNcQty() 
	{
		return ncQty;
	}
	public void setDisposition(String disposition) 
	{
		this.disposition = disposition;
	}

	public String getDisposition() 
	{
		return disposition;
	}
	public void setIsRework(String isRework) 
	{
		this.isRework = isRework;
	}

	public String getIsRework() 
	{
		return isRework;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}
	public void setUpdatedDateTime(Date updatedDateTime) 
	{
		this.updatedDateTime = updatedDateTime;
	}

	public Date getUpdatedDateTime() 
	{
		return updatedDateTime;
	}
	public void setCreateUserBo(String createUserBo) 
	{
		this.createUserBo = createUserBo;
	}

	public String getCreateUserBo() 
	{
		return createUserBo;
	}
	public void setUpdateUserBo(String updateUserBo) 
	{
		this.updateUserBo = updateUserBo;
	}

	public String getUpdateUserBo() 
	{
		return updateUserBo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("machineType", getMachineType())
            .append("resrce", getResrce())
            .append("operation", getOperation())
            .append("sfc", getSfc())
            .append("itemBo", getItemBo())
            .append("carrier", getCarrier())
            .append("dateCode", getDateCode())
            .append("cnc", getCnc())
            .append("ncCode", getNcCode())
            .append("ncQty", getNcQty())
            .append("disposition", getDisposition())
            .append("isRework", getIsRework())
            .append("createdDateTime", getCreatedDateTime())
            .append("updatedDateTime", getUpdatedDateTime())
            .append("createUserBo", getCreateUserBo())
            .append("updateUserBo", getUpdateUserBo())
            .toString();
    }
}
